<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        /* 通栏盒子不用写宽度，默认和浏览器一样宽 */
        .top {
            height: 80px;
            background-color: #eee;
            border: 1px dashed #aaa;
            text-align: center;
        }

        .banner {
            width: 960px;
            height: 150px;
            margin: 10px auto;
            background-color: #eee;

        }

        .small {
            width: 960px;
            height: 100px;
            margin: 0 auto;
            background-color: #eee;
        }

        ul {
            list-style: none;
        }

        .small>ul>li {
            width: 230px;
            border: 1px dashed #aaa;
            background-color: #eee;
            height: 98px;
            float: left;
            margin-left: 10px;
        }

        /* 注意权重问题 */
        .small .nomargin {
            margin-left: 0;
        }

        .small .fr {
            float: right;
        }

        .bottom {
            height: 100px;
            background-color: #eee;
            border: 1px dashed #aaa;
            text-align: center;
            margin-top: 10px;
        }
    </style>
</head>

<body>
    <div class="top">通栏顶部</div>
    <div class="banner">广告条</div>
    <div class="small">
        <ul>
            <li class="nomargin">1</li>
            <li>2</li>
            <li>3</li>
            <li class="fr">4</li>
        </ul>
    </div>
    <div class="small">
        <ul>
            <li class="nomargin">1</li>
            <li>2</li>
            <li>3</li>
            <li class="fr">4</li>
        </ul>
    </div>
    <div class="small">
        <ul>
            <li class="nomargin">1</li>
            <li>2</li>
            <li>3</li>
            <li class="fr">4</li>
        </ul>
    </div>
    <div class="small">
        <ul>
            <li class="nomargin">1</li>
            <li>2</li>
            <li>3</li>
            <li class="fr">4</li>
        </ul>
    </div>
    <div class="bottom">
    <div>
</body>

</html>